<template>
  <el-container>
    <!-- 侧边栏容器 -->
    <el-aside width="auto">
      <h1 style="width: 240px; color: white">Aside</h1>
    </el-aside>
    <el-container>
      <!-- 头部容器 -->
      <el-header>
        <h1>Header</h1>
      </el-header>
      <!-- 主要区域容器 -->
      <el-main>
        <h1>Main</h1>
      </el-main>
    </el-container>
  </el-container>
</template>
<script>
export default {
  components: {},
  data() {
    return {};
  },
};
</script>
<style>
.el-container {
  height: 100%;
}
.el-header {
  background-color: #ededed;
  color: #333;
}
.el-aside {
  background-color: #2a3f54;
  color: #333;
}
.el-main {
  background-color: #f7f7f7;
  color: #333;
}
</style>
